package me.CSmethod.demo.lianxi;

public class Text3 {
    public static void main(String[] args) {
    int a[]={1,2,3,4,5};

        System.out.println(find(a,9));
    }
   public static boolean find(int a[],int number){
       for (int i = 0; i < a.length; i++) {
           if(a[i]==number){
               return true;
           }
       }
        return false;
  }
}
